package com.cmc6.common.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class NotNullId {

    @NotNull
    @ApiModelProperty(value = "主键id", required = true)
    private Long id;

}
